package com.scuec.trainingmanagementsys.service;

import com.scuec.trainingmanagementsys.entity.WeeklyAssessment;

import java.util.List;
import java.util.Map;

public interface WeeklyAssessmentService {
    int addWeeklyAssessment(WeeklyAssessment weeklyAssessment);
    int deleteWeeklyAssessmentById(Integer weeklyAssessmentID);
    WeeklyAssessment findWeeklyAssessmentById(Integer weeklyAssessmentID);
    List<WeeklyAssessment> findAllWeeklyAssessments();
    List<WeeklyAssessment> findWeeklyAssessmentsByTeacherId(Integer teacherID);
    int updateWeeklyAssessment(WeeklyAssessment weeklyAssessment);
    List<WeeklyAssessment> findWeeklyAssessmentsByWeeklyReportID(Integer weeklyReportID);
    List<String> getWeeklyReports();
    List<Map<String, Object>> findWeeklyAssessmentsByWeeklyReportIDWithDetails(Integer weeklyReportID);
    List<WeeklyAssessment> getWeeklyAssessmentsByReportId(Integer reportId); // 添加该方法声明
    List<Map<String, Object>> getCommentsByReportId(Integer weeklyReportID);
}